package com.treasure.service.dto.wechat;

import com.thoughtworks.xstream.annotations.XStreamAlias;

import java.util.List;

/**
 * 列表图文信息
 *
 * @author <a href="mailto:panxinwen@yingu.com">Pan Xinwen</a>
 * @version 1.0 2018-07-17 18:24
 */

@XStreamAlias("xml")
public class NewsMessage extends BaseMessage{

    /**
     * 图文消息个数，限制为10条以内
     */
    @XStreamAlias("ArticleCount")
    private int ArticleCount;
    /**
     * 多条图文消息信息，默认第一个item为大图
     */
    @XStreamAlias("Articles")
    private List<ArticleMessage> Articles;

    public int getArticleCount() {
        return ArticleCount;
    }

    public void setArticleCount(int articleCount) {
        ArticleCount = articleCount;
    }

    public List<ArticleMessage> getArticles() {
        return Articles;
    }

    public void setArticles(List<ArticleMessage> articles) {
        Articles = articles;
    }

}
